﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UserModels;
using UserModels.DTO;
using UserRepositorys.Intface;

namespace UserRepositorys.Impl
{
    public class AccountRoleRepository : Repository<AccountRoleModel>, IAccountRoleRepository
    {
        public AccountRoleRepository(ISqlSugarClient db) : base(db)
        {
        }

        public Task<int> DeleteAccountRole(int id)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 查询所有
        /// </summary>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public async Task<List<AccountRoleModel>> GetAccountRole()
        {
            return await base.GetAllasync();
        }
    }
}
